<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Ftp
 *
 * @author Monk <eoe2005@gmail.com>
 */
class FtpStoreage extends G_Storage
{
    public function del($filename)
    {
        return ftp_delete($this->_con, $filename);
    }

    public function get($filename)
    {
        return ftp_fget($this->_con, $handle, $filename, FTP_BINARY );
    }

    public function save($filename)
    {
        return ftp_put($this->_con, $remote_file, $filename, FTP_BINARY);
    }

}
